home *** CD-ROM | disk | FTP | other *** search
- on mouseDown me
- global gButtonDN
- gButtonDN = me
- set the castLibNum of sprite the spriteNum of me to castLib("butDN").number
- updateStage()
- end
-
- on mouseUp me
- global gButtonDN, gLink, gTitel, gExes, gTitelNr
- gButtonDN = 0
- set the castLibNum of sprite the spriteNum of me to castLib("butN").number
- updateStage()
- gTitelNr = gTitel.spriteNum - 9
- theProp = gLink & string(gTitel.spriteNum - 9)
- theExec = getProp(gExes, theProp)
- open(the moviePath & theExec)
- end
-
- on mouseUpOutSide me
- global gButtonDN
- gButtonDN = 0
- set the castLibNum of sprite the spriteNum of me to castLib("butN").number
- updateStage()
- end
-
- on mouseEnter me
- global gButtonDN
- if gButtonDN = me then
- set the castLibNum of sprite the spriteNum of me to castLib("butDN").number
- end if
- updateStage()
- end
-
- on mouseLeave me
- set the castLibNum of sprite the spriteNum of me to castLib("butN").number
- updateStage()
- end
-